Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor ElasticSearchOutput for Instant Archiving #15952

Merged
merged 2 commits into from
Jul 18, 2023

Conversation

mpfz0r
Copy link
Contributor

@mpfz0r mpfz0r commented Jul 13, 2023

  • Extract messages ingestion in BlockingBatchedESOutput into a protected method indexMessageBatch() which can be overridden.

  • Return a Set instead of a List of failed MessageIds in bulkIndex(). This should allow for a faster lookup.

/nocl
/jpd https://github.com/Graylog2/graylog-plugin-enterprise/pull/5473

 - Extract messages ingestion in BlockingBatchedESOutput
   into a protected method indexMessageBatch() which can be overridden.

 - Return a Set instead of a List of failed MessageIds in bulkIndex().
   This should allow for a faster lookup.
@mpfz0r mpfz0r marked this pull request as ready for review July 14, 2023 08:51
@mpfz0r mpfz0r requested a review from thll July 14, 2023 08:51
@thll thll merged commit a522b02 into master Jul 18, 2023
1 check failed
@thll thll deleted the issue-5281-error-handling branch July 18, 2023 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants